﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VSWClient.Utility
{
    public static class WarningMessages
    {
        public static TipStruct ConnectFailed = new TipStruct("Connected Failed,Please check the network.", "Warning");
        public static TipStruct LoginFailed = new TipStruct("Login Failed,Please check server status.", "Alarm");
        public static TipStruct LoginUnvaild = new TipStruct("Login Failed,Unknow user ID or wrong password.", "Warning");
    }

    public class TipStruct
    {
        public string message;
        public string level;
        public TipStruct(string msg,string lvl)
        {
            message = msg;
            level = lvl;
        }
    }
}
